package com.thuanpq60023.easyenglish.view;

import com.thuanpq60023.easyenglish.R;
import com.thuanpq60023.easyenglish.global.GlobalFont;
import android.app.Activity;
import android.graphics.Typeface;
import android.widget.TextView;

public class MainDisplayFooter {

	private TextView tvFooter_lastvisit;
	private Typeface font1;

	public MainDisplayFooter(Activity activity) {
		super();
		font1 = new GlobalFont(activity.getApplicationContext()).getUVNBanTay();
	tvFooter_lastvisit = (TextView)activity.findViewById(R.id.footer_lastvisit);
	tvFooter_lastvisit.setTypeface(font1);
	}

	public String getTextTitle() {
		return tvFooter_lastvisit.getText().toString();
	}

	public void setTextTitle(String text) {
		this.tvFooter_lastvisit.setText(text);
	}
}
